
public class Main{
	public static void main(String[] args){
		Bicycle bike01, bike02;
		bike01 = new Bicycle(20, 10, 1);
		bike01.SetupMountainBike(new MountainBike(55));
		bike02=null;

		try{
			bike02= (Bicycle ) bike01.clone();
		} catch (CloneNotSupportedException ex) {
			System.out.println("Sorry,Clone Not Supported!");
		}
      
		System.out.println("before");
		bike01.printDescription();

		bike01.Setup(0,0,0);
		bike01.GetMountainBike().Setup(10);
		System.out.println("after1");
		bike01.printDescription();

		bike02.printDescription();
		bike02.Setup(1,1,1);
		System.out.println("after2");
		bike01.printDescription();
		bike02.printDescription();

  }
}
